package com.soul.doc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages = {"com.soul.doc", "com.soul.common.feign"})
@EnableTransactionManagement
@EnableEurekaClient
@MapperScan("com.soul.doc.mapper")
@ComponentScan(value = {"com.soul.common","com.soul.doc","com.soul.common.feign"})
@EnableFeignClients(basePackages={"com.soul.common.feign"})
public class SoulDocApplication {

    public static void main(String[] args) {
        SpringApplication.run(SoulDocApplication.class, args);
    }

}
